package com.distributeredis.redis_springboot.forAndThreadAndCompleTableFuture.service;

import java.util.concurrent.ExecutionException;

public interface TestService {
    void test() throws ExecutionException, InterruptedException;

//    通过new Thread()简单线程的方式，来异步实现逻辑
    void test1() throws Exception;

    void test2() throws InterruptedException, ExecutionException;

    void test3() throws ExecutionException, InterruptedException;
}
